package com.lcx.movie.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lcx.movie.entity.Cinemasnack;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface CinemasnackMapper extends BaseMapper<Cinemasnack> {
    /**
     * 新增影院零食
     * @param cinemasnack 影院零食对象
     * @return  受影响的行数
     */
    @Insert("insert into cinemasnack values(null,#{cinemaId},#{snackId})")
    public int insertCinemasnack(Cinemasnack cinemasnack);

}
